Javascript Only Search Method [on hold]

Posted by user2118228 on Pro Webmasters See other posts from Pro Webmasters or by user2118228
Published on 2013-10-22T18:43:21Z Indexed on 2013/10/22 22:03 UTC
Read the original article Hit count: 194

Filed under:
|

I need to put a search function on a website that is going to be on a CD-ROM with no access to the internet. It has 80 pages, and about 500 'items', so I'd prefer to not have to hard code 100's of 'if statements if possible. I've found a few programs you can buy that will index and generate results (Zoom Search, JSS Index, The German Guys') but there are odd quirks with each one. Plus I would rather code it myself to get complete control over it, and to really understand what it's doing.

Basically searching for a few words would display the product image and description; clicking on that would take you the related URL.

This is kind of complicated, I can't find an easy solution not dealing with hundreds of if Statements. Has anyone ever created anything like this or know a better method? I'm not really sure a better way to go about this. I've used PHP/MYSQL for search results before, but this cannot run any php.

© Pro Webmasters or respective owner

Related posts about JavaScript

Related posts about site-search